package com.lkz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lkz.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;


public interface IEmployeeService extends IService<Employee> {
    IPage<Employee> selectList(Page<Employee> page);
    IPage<Employee> selectByDel(Page<Employee> page);
    Employee selectByName(String empName);
    Integer add(Employee employee,Integer roleId);
    Integer update(Employee employee,Integer roleId);
    Integer del(Integer empId);
    Integer recover(Integer empId);
    Integer selectByRoleName(String roleName);
}
